<div class="box" th:attrappend="class=${object.metaShow ? '' : ' collapsed-box'}">
	<div class="box-header with-border">
		<th:block th:include="tool-collapse :: frag(${!object.metaShow})"></th:block>
		<h3 class="box-title">MObject</h3>
	</div>
	<!-- /.box-header -->
	<div class="box-body">
		<table class="table table-bordered" data-meta-po="MObject">
			<tbody><tr>
				<th class="col-md-4">属性</th>
				<th class="col-md-5">值</th>
				<th class="col-md-3">操作</th>
			</tr>
			<th:block th:with="objectPropertyNames=${T(java.util.Arrays).asList('id', 'name', 'no', 'idx', 'status', 'module', 'description')}">
				<th:block th:each="property : ${objectPropertyNames}">
					<tr th:if="${property == 'id'}">
						<td>id</td>
						<td th:text="${object.id}"></td>
						<td>
						</td>
					</tr>
					<tr th:unless="${property == 'id'}">
						<td th:text="${property}"></td>
						<td><input class="form-control input-sm" th:value="${object[property]}"></td>
						<td>
							<th:block th:include="meta/man/object-operations :: frag(${object}, ${property})"></th:block>
						</td>
					</tr>
				</th:block>
				<th:block th:each="key : ${object.columns.keySet()}">
					<tr>
						<td th:text="${'columns.' + key}"></td>
						<td><input class="form-control input-sm" th:value="${object.columns.get(key)}"></td>
						<td>
							<th:block th:include="meta/man/object-operations :: frag(${object}, ${'columns.' + key})"></th:block>
						</td>
					</tr>
				</th:block>
				<th:block th:each="key : ${object.data.keySet()}">
					<tr th:if="${key != 'apps' && key != 'relationNumber'}">
						<td th:text="${'data.' + key}"></td>
						<td><input class="form-control input-sm" th:value="${object.data.get(key)}"></td>
						<td>
							<th:block th:include="meta/man/object-operations :: frag(${object}, ${'data.' + key})"></th:block>
						</td>
					</tr>
				</th:block>
				<tr>
					<td><input class="form-control input-sm" name="key"></td>
					<td><input class="form-control input-sm" name="value"></td>
					<td>
						<div class="btn-group btn-xs">
							<button type="button" class="btn btn-xs" data-meta-add>Add</button>
						</div>
					</td>
				</tr>
				<tr>
					<td colspan="2">
						<input class="form-control input-sm" name="prop" placeholder="请输入属性或关系">
						<textarea class="form-control input-sm" name="propconfig" rows=5 placeholder="请输入配置，格式：类型:文本,长度:200,默认值:xxx,允许为空:是,主键:否"></textarea>
					</td>
					<td>
						<div class="btn-group btn-xs">
							<button type="button" class="btn btn-xs" data-meta-addMPropertyOrMRelation>Add</button>
						</div>
					</td>
				</tr>
			</th:block>
			</tbody></table>
	</div>
</div>